package com.xh.common.exception;

/**
 * @author 史建飞
 * @version 1.0
 */
public enum FmaCodeExceptionEnum {
    UNKNOWN_EXCEPTION(40000,"系统未知异常"),
    INVALID_EXCEPTION(4000,"参数校验异常");
    private Integer code;
    private String message;



    FmaCodeExceptionEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
